﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="AboutUs.aspx.cs" Inherits="AboutUs" Title="Untitled Page" %>

<%@ Register src="Module/LatestNews.ascx" tagname="LatestNews" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script type="text/javascript" language="javascript">
	$(function() {
	           $('.tab-item').fadeOut();
			   $('.tab_aboutus ul li a:first').addClass('active_tab');			   
			   $($('.tab_aboutus ul li a:first').attr("rel")).fadeIn();
			   $('.tab_aboutus ul li a').click(function(){
						   $('.tab_aboutus ul li a').removeClass('active_tab');		
						   $(this).addClass('active_tab');	
						   $('.tab-item').fadeOut();						  
			               $(this.rel).fadeIn();
                });                
    });
    var currentUrl = 'linkabout';		  
    </script> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="txt_title_mainmenu">
        <%= WebComponents.ResourceValueController.GetString("Site_About")%></div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <div class="tab_aboutus">
        <asp:Repeater runat="server" ID="rptTabs">
            <HeaderTemplate>
                <ul>
            </HeaderTemplate>
            <ItemTemplate>
                <li><a rel="#content_tab_aboutus<%# Eval("ArticleID") %>" title=" <%# Eval("Title") %>" class="link_tab_aboutus">
                    <%# Eval("Title") %></a></li>
            </ItemTemplate>
            <FooterTemplate>
                </ul>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    <div class="content_tab_aboutus">
        <asp:Repeater runat="server" ID="rptTabContent">
            <ItemTemplate>
                <div id="content_tab_aboutus<%# Eval("ArticleID") %>" class="tab-item">
                    <%# Eval("Content") %></div>
            </ItemTemplate>
        </asp:Repeater>
        
    </div>
    <uc1:LatestNews ID="LatestNews1" runat="server" />
</asp:Content>
